package com.site.wisdom_construction.entity.scheduleModule;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.sql.Date;

/**
 * @Description  
 * @Author  DYF
 * @Date 2022-03-10 
 */
@ApiModel (value ="航拍进度表实体类", description = "AerialProgress")
public class AerialProgress {
	/**
	 * 航拍进度表id
	 */
   	@ApiModelProperty(value = "航拍进度表id", name = "id")
	private Integer id;

	/**
	 * 项目id
	 */
	@ApiModelProperty(value = "项目id", name = "projectId")
	private Integer projectId;

	/**
	 * 航拍进度图片地址
	 */
   	@ApiModelProperty(value = "航拍进度图片地址", name = "aerialProgressPhoto")
	private String aerialProgressPhoto;

	/**
	 * 上传时间
	 */
   	@ApiModelProperty(value = "上传时间", name = "uploadTime")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd HH:mm:ss")
	private Date uploadTime;

	public AerialProgress(){ super(); }

	public AerialProgress(Integer id, Integer projectId, String aerialProgressPhoto, Date uploadTime) {
		this.id = id;
		this.projectId = projectId;
		this.aerialProgressPhoto = aerialProgressPhoto;
		this.uploadTime = uploadTime;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getProjectId() {
		return projectId;
	}

	public void setProjectId(Integer projectId) {
		this.projectId = projectId;
	}

	public String getAerialProgressPhoto() {
		return aerialProgressPhoto;
	}

	public void setAerialProgressPhoto(String aerialProgressPhoto) {
		this.aerialProgressPhoto = aerialProgressPhoto;
	}

	public Date getUploadTime() {
		return uploadTime;
	}

	public void setUploadTime(Date uploadTime) {
		this.uploadTime = uploadTime;
	}

	@Override
	public String toString() {
		return "{" +
				"id=" + id +
				", projectId=" + projectId +
				", aerialProgressPhoto='" + aerialProgressPhoto + '\'' +
				", uploadTime=" + uploadTime +
				'}';
	}
}
